package com.source.baseData.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Joey
 * @since 2021-02-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Stalls对象", description="")
public class Stalls implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "档口id")
    @TableId(value = "stallsId", type = IdType.AUTO)
    private Integer stallsId;

    @ApiModelProperty(value = "档口编号")
    @TableField("stallsNumber")
    private String stallsNumber;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "createDate", fill = FieldFill.INSERT)
    private Date createDate;

    @ApiModelProperty(value = "档口介绍")
    @TableField("introduction")
    private String introduction;

    @ApiModelProperty(value = "所属的屠宰场id")
    @TableField("slaughterHouseId")
    private String slaughterHouseId;

    @ApiModelProperty(value = "档口负责人（档口的使用者）")
    @TableField("userId")
    private String userId;

    @ApiModelProperty(value = "变更信息")
    @TableField("changeInformation")
    private String changeInformation;

    @ApiModelProperty(value = "开始经营日期")
    @TableField("commencementDate")
    private Date commencementDate;

    @ApiModelProperty(value = "简介")
    @TableField("stallsIntroduction")
    private String stallsIntroduction;

    @ApiModelProperty(value = "名称")
    @TableField("stallsName")
    private String stallsName;

    @ApiModelProperty(value = "照片")
    @TableField("stallsPictures")
    private String stallsPictures;

    @ApiModelProperty(value = "状态（0已删1正常2发布待审核3删除待审核）")
    private Integer status;

    @ApiModelProperty(value = "逻辑删除")
    @TableField("isDelete")
    @TableLogic
    private Boolean isDelete;

    @ApiModelProperty(value = "档口二维码")
    @TableField("stallsCode")
    private String stallsCode;


}
